#include "ScnsInclude.h"
#include "init.h"
#include "JctoInclude.h"

static pthread_t pthreadIds[3];

volatile uint8 menuRunFlag=1;

static void*menuTest(void*p)
{
    while(menuRunFlag)
    {
        scnsMenuFresh();
    }
    return NULL;
}

int main(void)
{
    init();
    scnsMenuAddTest(9);
    scnsMenuLoadAll();
    menuRunFlag=1;
    pthread_create(&pthreadIds[0],NULL,menuTest,NULL);
    Sleep(60*60*1000);
    menuRunFlag=0;
    pthread_join(pthreadIds[0],NULL);
    stop(0);
    return 0;
}
